package com.zhongyu.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreOper {
//1入库
	public static final Integer TYPE_IN=1;
	//2出库
	public static final Integer TYPE_OUT=2;

//盘亏
	public static final Integer TYPE_KUI=4;
	//盘盈
	public static final Integer TYPE_YING=3;
	/**
	 * 编号
	 */
	private Integer id;

	/**
	 * 操作员工编号
	 */
	private Integer operateId;

	/**
	 * 操作日期
	 */
	private java.time.LocalDateTime operateTime;

	/**
	 * 仓库编号
	 */
	private Integer storeId;

	/**
	 * 商品编号
	 */
	private Integer goodId;

	/**
	 * 数量
	 */
	private Integer number;

	/**
	 * 1:入库 2：出库
	 */
	private Integer type;
@TableField(exist = false)
	private Goods goods;
@TableField(exist = false)
private Store store;
@TableField(exist = false)
private User user;

}
